home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Graphics Plus
/
Graphics Plus.iso
/
msdos
/
editors
/
okf220
/
okhl.doc
< prev
next >
Wrap
Text File
|
1988-06-19
|
5KB
|
119 lines
PROGRAM: OKHL.COM OPTIKS Soft Font Linker
RELEASE: 1.00 first release. I have no LaserJet to test this
on so this is a Beta release.
DESCRIPTION: This program creates a soft font header and appends
letters created by OPTIKS. It asks a series of questions
about the font to be created writes out a header
and then adds the letter files to the end. When it is
done it has created a Soft Font readable by OPTIKS and
if all is well by HP Laserjets.
Soft font letters created by OPTIKS are very simple blocks
with no descender or kerning information. A soft font
editor would have to be used to alter any of the letter
heading information. Soft font letters should be limited
to 127 dots wide by 127 dots high. There is no check in
OPTIKS to limit you to this. Be aware that a large
character (a point is 1/72 of an inch. 127 dots at 300
DPI is about .42 inches high or about 30 point) may not
print on all laser printers. New laserjets and clones
will handle bigger fonts.
OPTIKS and OKHL work together to create Dingbats and
special characters such illuminated letters. I am looking
forward to Chess fonts and Playing Card fonts as well
as fonts of technical symbols.
If you are very creative you could make, say, an
electronic symbol font and market it. Even in shareware
such a font would make money.
OPERATION: OKHL will need a set of characters created by OPTIKS.
You will have to know the size of the characters in dots
to answer the questions that OKHL will ask.
Type OKHL to start the program and you will see the
copyright notice and the first question.
Note: Ctrl-Break exits OKHL at any time.
DATA ENTRY
1) Enter the file(s) of Soft Font letters created by OPTIKS
Wild cards are OK
This is the name of Soft font letters created by OPTIKS
that will be added to the font.
Examples:
LET*.SFL a.sfp b. c.* d.*
you can put as many files specifications on a line as
needed, but I suggest you call all the letters of
a font as similar names so that one file specification
such as: FONT2*.SFL will fit the bill.
2) Enter the name of the Soft font file to be created
(this will overlay any existing file with this name,
Be careful not to erase any good fonts. There is no
warning when this overlays an old font.
3) Enter the base line position.
This is the height of the character from the base line
to the top of the highest character. In dots.
Basically this is the height of a letter. If descenders
were allowed, they would not be included in this number.
4) Enter the Cell Width. The width of widest letter.
This is how many dots wide the widest letter is.
5) Enter the Character Cell height in dots.
This is the height of the box that a letter goes in.
It is the height of the tallest letter.
6) Enter Orientation, 0 = portrait, 1 = landscape
This is used by the LaserJet. If you want your font
to be portrait you must say so. A font can be portrait
or landscape but not both. The height and width
values are reversed for landscape.
7) Enter 0 = fixed, 1 = proportional,
If all letters are the same size then make your font
fixed. Otherwise proportional.
8) Enter Horizontal Motion Index, in Dots * 4
This is the amount the LaserJet moves to the right
before printing the next character. In fixed it
is the same for each character. In proportional it
is the size of a space character.
8) Enter the Font Height in Dots * 4
This is the height multiplied by 4 (you must do the
multiplication.)
9) Enter Style, 0 = upright, 1 = Italic
This is used by the LaserJet when you select fonts, but
does not change the font itself.
10) Enter Stroke Weight-7, 0 = light, 7 = normal, 14= dark
This does not effect the darkenss of lightness of the
font, but is used by the LaserJet when you select a font.
11) Enter Typeface 0-10, 0=line printer, 4=Helv, etc.
This again is selection item and any number can be put
here. without affecting the way the font prints.